mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
feat: 🎸 set SSO login page ui
This commit is contained in:
parent
db3bf4c12c
commit
4cafd83c25
@ -103,7 +103,7 @@
|
||||
"password": "密码",
|
||||
"remember-me": "记住我",
|
||||
"button": "登录",
|
||||
"sign_in_with_google": "使用 Google 登录"
|
||||
"sign_in_with_sso": "使用 {{ ssoIssuerName }} 登录"
|
||||
},
|
||||
"set_password": {
|
||||
"title": "设置密码",
|
||||
|
@ -112,7 +112,7 @@
|
||||
"password": "Password",
|
||||
"remember-me": "Remember me",
|
||||
"button": "Login",
|
||||
"sign_in_with_google": "Sign in with Google"
|
||||
"sign_in_with_sso": "Sign in with {{ ssoIssuerName }}"
|
||||
},
|
||||
"set_password": {
|
||||
"title": "Set Password",
|
||||
|
@ -26,8 +26,8 @@
|
||||
|
||||
<% if (ssoEnabled) { %>
|
||||
<a href="/authenticate" class="google-login-btn">
|
||||
<img src="<%= assetPath %>/images/google-logo.svg" alt="Google logo">
|
||||
<%= t("login.sign_in_with_google") %>
|
||||
<img src="<%= ssoIssuerIcon.length === 0 ? assetPath + '/images/google-logo.svg' : ssoIssuerIcon %>" alt="<%= ssoIssuerName %>">
|
||||
<%= t("login.sign_in_with_sso", { ssoIssuerName: ssoIssuerName }) %>
|
||||
</a>
|
||||
<% } else { %>
|
||||
<form action="login" method="POST">
|
||||
|
Loading…
x
Reference in New Issue
Block a user