Skip to content
This repository has been archived by the owner on Apr 3, 2019. It is now read-only.

Commit

Permalink
chore(api): Add signin config value
Browse files Browse the repository at this point in the history
  • Loading branch information
vbudhram committed Mar 7, 2016
1 parent df47a8a commit 0beade7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,11 @@ var conf = convict({
format: String,
default: 'https://www.mozilla.org/firefox/ios/'
},
signInUrl: {
doc: 'Deprecated. uses contentServer.url',
format: String,
default: 'undefined'
},
supportUrl: {
doc: 'url to Mozilla Support product page',
format: String,
Expand Down Expand Up @@ -364,6 +369,7 @@ conf.validate({ strict: true })
conf.set('domain', url.parse(conf.get('publicUrl')).host)

// derive fxa-auth-mailer configuration from our content-server url
conf.set('smtp.signInUrl', conf.get('contentServer.url') + '/signin')
conf.set('smtp.verificationUrl', conf.get('contentServer.url') + '/v1/verify_email')
conf.set('smtp.passwordResetUrl', conf.get('contentServer.url') + '/v1/complete_reset_password')
conf.set('smtp.accountUnlockUrl', conf.get('contentServer.url') + '/v1/complete_unlock_account')
Expand Down

0 comments on commit 0beade7

Please sign in to comment.