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": "密码",
|
"password": "密码",
|
||||||
"remember-me": "记住我",
|
"remember-me": "记住我",
|
||||||
"button": "登录",
|
"button": "登录",
|
||||||
"sign_in_with_google": "使用 Google 登录"
|
"sign_in_with_sso": "使用 {{ ssoIssuerName }} 登录"
|
||||||
},
|
},
|
||||||
"set_password": {
|
"set_password": {
|
||||||
"title": "设置密码",
|
"title": "设置密码",
|
||||||
|
@ -112,7 +112,7 @@
|
|||||||
"password": "Password",
|
"password": "Password",
|
||||||
"remember-me": "Remember me",
|
"remember-me": "Remember me",
|
||||||
"button": "Login",
|
"button": "Login",
|
||||||
"sign_in_with_google": "Sign in with Google"
|
"sign_in_with_sso": "Sign in with {{ ssoIssuerName }}"
|
||||||
},
|
},
|
||||||
"set_password": {
|
"set_password": {
|
||||||
"title": "Set Password",
|
"title": "Set Password",
|
||||||
|
@ -26,8 +26,8 @@
|
|||||||
|
|
||||||
<% if (ssoEnabled) { %>
|
<% if (ssoEnabled) { %>
|
||||||
<a href="/authenticate" class="google-login-btn">
|
<a href="/authenticate" class="google-login-btn">
|
||||||
<img src="<%= assetPath %>/images/google-logo.svg" alt="Google logo">
|
<img src="<%= ssoIssuerIcon.length === 0 ? assetPath + '/images/google-logo.svg' : ssoIssuerIcon %>" alt="<%= ssoIssuerName %>">
|
||||||
<%= t("login.sign_in_with_google") %>
|
<%= t("login.sign_in_with_sso", { ssoIssuerName: ssoIssuerName }) %>
|
||||||
</a>
|
</a>
|
||||||
<% } else { %>
|
<% } else { %>
|
||||||
<form action="login" method="POST">
|
<form action="login" method="POST">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user