|
|
@ -2961,3 +2961,23 @@ def logout_url_without_domain
|
|
|
|
return "https://www.trustie.net/logout"
|
|
|
|
return "https://www.trustie.net/logout"
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def signin_url_without_domain
|
|
|
|
|
|
|
|
if Rails.env.development?
|
|
|
|
|
|
|
|
return "http://localhost:3000/login?login=true"
|
|
|
|
|
|
|
|
elsif Rails.env.test?
|
|
|
|
|
|
|
|
return "https://test.forge.trustie.net/login?login=true"
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
return "https://www.trustie.net/login?login=true"
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def register_url_without_domain
|
|
|
|
|
|
|
|
if Rails.env.development?
|
|
|
|
|
|
|
|
return "http://localhost:3000/login?login=false"
|
|
|
|
|
|
|
|
elsif Rails.env.test?
|
|
|
|
|
|
|
|
return "https://test.forge.trustie.net/login?login=false"
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
return "https://www.trustie.net/login?login=false"
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|
|
|
|