You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
503 B
13 lines
503 B
import {GristLoginMiddleware} from 'app/server/lib/GristServer';
|
|
|
|
export async function getLoginMiddleware(): Promise<GristLoginMiddleware> {
|
|
return {
|
|
async getLoginRedirectUrl(target: URL) { throw new Error('logins not implemented'); },
|
|
async getLogoutRedirectUrl(target: URL) { throw new Error('logins not implemented'); },
|
|
async getSignUpRedirectUrl(target: URL) { throw new Error('logins not implemented'); },
|
|
addEndpoints(...args: any[]) {
|
|
return "no-logins";
|
|
}
|
|
};
|
|
}
|