Added basic auth and route protection

This commit is contained in:
2024-04-26 15:13:13 +01:00
parent aba3c335c4
commit ff4a77b4b4
8 changed files with 154 additions and 11 deletions

View File

@@ -0,0 +1,15 @@
// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
export function IsLoggedIn() {
return window['go']['main']['Auth']['IsLoggedIn']();
}
export function Login() {
return window['go']['main']['Auth']['Login']();
}
export function Register() {
return window['go']['main']['Auth']['Register']();
}