mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-12-27 15:30:37 +05:30
#61: update passwordChangedAt time every second on profile index page
This commit is contained in:
parent
d905d08ced
commit
cac70298a8
@ -67,7 +67,7 @@ export default class Profile extends Component {
|
||||
link="/profile/change-password"
|
||||
label={<Message {...messages.password} />}
|
||||
value={<Message {...messages.changedAt} values={{
|
||||
at: (<Relative value={user.passwordChangedAt * 1000} />)
|
||||
at: (<Relative value={user.passwordChangedAt * 1000} updateInterval={1000} />)
|
||||
}} />}
|
||||
warningMessage={user.shouldChangePassword ? (
|
||||
<HTMLMessage {...messages.oldHashingAlgoWarning} />
|
||||
|
Loading…
Reference in New Issue
Block a user