#61: update passwordChangedAt time every second on profile index page

This commit is contained in:
SleepWalker 2016-05-02 20:42:40 +03:00
parent d905d08ced
commit cac70298a8

View File

@ -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} />