1
0
Fork 0
forked from OpenNeo/impress

Update Devise paths to be at /users instead of /auth_users

Been bothering me for a bit, and now I'm about to submit my official
redirect URL to the Neopets eng team so, let's polish this up!
This commit is contained in:
Emi Matchu 2024-03-14 20:34:05 -07:00
parent f4133f8283
commit 812700248e
4 changed files with 4 additions and 4 deletions

View file

@ -125,5 +125,5 @@ Rails.application.configure do
# Set the NeoPass redirect callback URL.
config.neopass_redirect_uri =
"http://localhost:3000/auth_users/auth/neopass/callback"
"http://localhost:3000/users/auth/neopass/callback"
end

View file

@ -144,5 +144,5 @@ Rails.application.configure do
# Set the NeoPass redirect callback URL.
config.neopass_redirect_uri =
"https://impress.openneo.net/auth_users/auth/neopass/callback"
"https://impress.openneo.net/users/auth/neopass/callback"
end

View file

@ -80,5 +80,5 @@ Rails.application.configure do
# Set the NeoPass redirect callback URL.
config.neopass_redirect_uri =
"http://localhost:3000/auth_users/auth/neopass/callback"
"http://localhost:3000/users/auth/neopass/callback"
end

View file

@ -2,7 +2,7 @@ OpenneoImpressItems::Application.routes.draw do
root :to => 'outfits#new'
# Login and account management!
devise_for :auth_users
devise_for :auth_users, path: "users"
# The outfit editor!
# TODO: It's a bit silly that outfits/new points to outfits#edit.