Skip to content

Commit

Permalink
Merge pull request #78 from bittorrent/v3.1
Browse files Browse the repository at this point in the history
V3.1
  • Loading branch information
lulu-tro authored Oct 30, 2024
2 parents 0e9d17d + d861746 commit 78c7f35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Login/PasswordLogin.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const PasswordLogin = ({ color, endpoint }) => {
setValidateMsg(t('login_lock_message'));
timer = setTimeout(() => {
setIsLock(false);
}, 180000);
}, 600000);
} else {
setValidateMsg('');
setTimes(0);
Expand Down
2 changes: 1 addition & 1 deletion src/components/Modals/ChangePasswordModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export default function ChangePasswordModal({ color }) {
label={<div className="font-bold theme-text-main">{t('enter_old_password')}</div>}
name="oldpassword"
rules={[
{ required: true, message: t('private_key_validate_required') },
{ required: true, message: t('enter_old_password_placeholder') },
{
pattern: /^(?=.*[a-zA-Z])(?=.*\d)[a-zA-Z\d]{8,}$/,
message: t('password_validate_pattern'),
Expand Down

0 comments on commit 78c7f35

Please sign in to comment.