feat: webui login limit
This commit is contained in:
1 parent
fa4a403f38
commit
9471e63857
6 files changed
+18
-1
No files matched your search
@@ -1,10 +0,0 @@
|
||||
//实现一个登录 仅需判断密码 没有用户名字段
|
||||
export class Auth {
|
||||
public static async checkAuth(token: string) {
|
||||
if (token == "123456") {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user