mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-12-28 07:50:32 +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"
|
link="/profile/change-password"
|
||||||
label={<Message {...messages.password} />}
|
label={<Message {...messages.password} />}
|
||||||
value={<Message {...messages.changedAt} values={{
|
value={<Message {...messages.changedAt} values={{
|
||||||
at: (<Relative value={user.passwordChangedAt * 1000} />)
|
at: (<Relative value={user.passwordChangedAt * 1000} updateInterval={1000} />)
|
||||||
}} />}
|
}} />}
|
||||||
warningMessage={user.shouldChangePassword ? (
|
warningMessage={user.shouldChangePassword ? (
|
||||||
<HTMLMessage {...messages.oldHashingAlgoWarning} />
|
<HTMLMessage {...messages.oldHashingAlgoWarning} />
|
||||||
|
Loading…
Reference in New Issue
Block a user