From 223eb88b1038538b0b82f63f134a6f1a57e89c2a Mon Sep 17 00:00:00 2001 From: Ryan Wang Date: Tue, 8 Oct 2024 16:58:53 +0800 Subject: [PATCH] refactor: update local login method icons (#6783) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #### What type of PR is this? /area core /kind improvement /milestone 2.20.x #### What this PR does / why we need it: 更新本地登录方式的图标。 image #### Which issue(s) this PR fixes: Fixes https://github.com/halo-dev/halo/issues/6759 #### Does this PR introduce a user-facing change? ```release-note None ``` --- application/src/main/resources/extensions/authproviders.yaml | 4 ++-- .../static/images/login-methods/login-with-credentials.svg | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 application/src/main/resources/static/images/login-methods/login-with-credentials.svg diff --git a/application/src/main/resources/extensions/authproviders.yaml b/application/src/main/resources/extensions/authproviders.yaml index 87cad00e2..82080199b 100644 --- a/application/src/main/resources/extensions/authproviders.yaml +++ b/application/src/main/resources/extensions/authproviders.yaml @@ -10,9 +10,9 @@ metadata: spec: displayName: Local description: Built-in authentication for Halo. - logo: /images/logo.png + logo: /images/login-methods/login-with-credentials.svg website: https://www.halo.run authenticationUrl: /login method: post rememberMeSupport: true - authType: form + authType: form \ No newline at end of file diff --git a/application/src/main/resources/static/images/login-methods/login-with-credentials.svg b/application/src/main/resources/static/images/login-methods/login-with-credentials.svg new file mode 100644 index 000000000..2e323aa68 --- /dev/null +++ b/application/src/main/resources/static/images/login-methods/login-with-credentials.svg @@ -0,0 +1 @@ + \ No newline at end of file