Admin creation script output uses http in admin login URL

Description

If you run RAILS_ENV=production bundle exec rails r script/create_admin.rb to create an admin, the output includes the admin login URL. It currently starts with http. It should start with https.

Needs to be tested by someone with database access.

Activity

Show:
redsummernight
June 28, 2020, 3:49 AM

We should use Rails URL helpers and output the correct URL for the Archive instance we’re on (e.g. test.archiveofourown.org instead of archiveofourown.org).

Sarken
July 16, 2020, 10:27 PM

URL was correctly shown as https://test.archiveofourown.org/admin/login – however! There were stray quotation marks at the end of the URL that should probably be removed.

Sarken
July 28, 2020, 2:13 AM

Error messages and text all look good!

james_
July 28, 2020, 5:31 PM

Every thing looks good.

james_
July 28, 2020, 5:32 PM

All looks good

DeployedToBeta

Assignee

redsummernight

Reporter

Sarken

Roadmap

Admin

Priority

Lowest

Affects versions

Fix versions

Components

BackEnd

Difficulty

First Timers Only

Milestone

Internal 0.9
Configure