mirror of
https://github.com/dbgate/dbgate
synced 2024-11-07 04:00:59 +00:00
UX
This commit is contained in:
parent
a03ca73d93
commit
48d4fb4fec
@ -133,7 +133,7 @@
|
||||
</script>
|
||||
|
||||
<SpecialPageLayout>
|
||||
<div class="heading">Log In</div>
|
||||
<div class="heading">{isAdminPage ? 'Admin Log In' : 'Log In'}</div>
|
||||
<div class="login-link">
|
||||
{#if $config?.isAdminLoginForm}
|
||||
{#if isAdminPage}
|
||||
|
@ -46,7 +46,7 @@
|
||||
|
||||
<div class="submit">
|
||||
<FormSubmit
|
||||
value="Set password"
|
||||
value={$values?.denyUseAdminPassword ? 'Save' : 'Set password'}
|
||||
on:click={async e => {
|
||||
const resp = await apiCall('storage/set-admin-password', e.detail);
|
||||
if (resp?.status == 'error') {
|
||||
|
Loading…
Reference in New Issue
Block a user