Email admin when user requests access
When admin approval required on sign up, send email to admin with user info when user requests an account Add link to pending approval Change url to host Remove extra new line Run get text regenerate Add changelog entry Add negative spec case Add newline at end of file Add params to Devise mailer Devise mailer is weird and you can only pass it one param, so do the admin loop in the devise method Add spec to devise mailer spec Use NotificationService instead of DeviseMailer NotificationService lets you pass multiple params to the email view and it's much easier to send emails to the correct address with the correct information Remove DeviseMailer changes There were changes to Devise Mailer spec and preview, so removing those in favor of NotificationService changes Change email helper func names Add shared example for 10 admins Remove extra new line Fast return if no recipients Change email to notification email Committing for save Move instance access request mailer to profiles Mailer method made more sense in profiles than in members file Add rubocop disable Change click here copy and link Change spec names Change spec name for clarity Remove extra space MR review comments Address review comments Run gettext regenerate Render different email formats Redundant return, formatting error Cleanup return conditions Don't need to pass resource param Scope which admins to email Private profile email layout method Remove extra new line Address MR review comments Localize strings, early return, change variable name Don't need shared example Address MR review comments Remove extra new lines Address static analysis errors Change sign in factory Remove early return
Showing
Please register or sign in to comment