Skip to content

Commit

Permalink
增加邮箱也可以登陆的提示 (typecho#1631)
Browse files Browse the repository at this point in the history
😭用了八年,今天翻代码才知道也可以用邮箱登陆
  • Loading branch information
jrotty authored Sep 29, 2023
1 parent e143be0 commit 272fc8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions admin/login.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
<h1><a href="https://typecho.org" class="i-logo">Typecho</a></h1>
<form action="<?php $options->loginAction(); ?>" method="post" name="login" role="form">
<p>
<label for="name" class="sr-only"><?php _e('用户名'); ?></label>
<input type="text" id="name" name="name" value="<?php echo $rememberName; ?>" placeholder="<?php _e('用户名'); ?>" class="text-l w-100" autofocus />
<label for="name" class="sr-only"><?php _e('用户名或邮箱'); ?></label>
<input type="text" id="name" name="name" value="<?php echo $rememberName; ?>" placeholder="<?php _e('用户名或邮箱'); ?>" class="text-l w-100" autofocus />
</p>
<p>
<label for="password" class="sr-only"><?php _e('密码'); ?></label>
Expand Down

0 comments on commit 272fc8b

Please sign in to comment.