mirror of
https://github.com/kevin-DL/wails-vue-template.git
synced 2026-01-11 18:04:32 +00:00
Added basic auth and route protection
This commit is contained in:
15
frontend/wailsjs/go/main/Auth.js
Executable file
15
frontend/wailsjs/go/main/Auth.js
Executable 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']();
|
||||
}
|
||||
Reference in New Issue
Block a user