Skip to content

Commit

Permalink
Merge pull request #478 from Stremio/feature-password-change-button
Browse files Browse the repository at this point in the history
Feature password change button
  • Loading branch information
tymmesyde authored Oct 16, 2023
2 parents 5708451 + 2197fe0 commit c8d63b2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/routes/Settings/Settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,16 @@ const Settings = () => {
<div className={styles['label']}>{ t('PRIVACY_POLICY') }</div>
</Button>
</div>
{
profile.auth !== null && profile.auth.user !== null && typeof profile.auth.user.email === 'string' ?
<div className={styles['option-container']}>
<Button className={classnames(styles['option-input-container'], styles['link-container'])} title={t('RESET_PASSWORD')} target={'_blank'} href={`https://www.strem.io/reset-password/${profile.auth.user.email}`}>
<div className={styles['label']}>{ t('RESET_PASSWORD') }</div>
</Button>
</div>
:
null
}
</div>
<div ref={playerSectionRef} className={styles['section-container']}>
<div className={styles['section-title']}>{ t('SETTINGS_NAV_PLAYER') }</div>
Expand Down

0 comments on commit c8d63b2

Please sign in to comment.