fix for allowing sign ups, and for about lightbox overflow
This commit is contained in:
parent
ed7844d195
commit
a8fb22ee95
2 changed files with 2 additions and 2 deletions
|
@ -2069,7 +2069,7 @@ and it won't be important on password protected instances */
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
#colophon {
|
#colophon, #about {
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
height:434px;
|
height:434px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -36,7 +36,7 @@ private
|
||||||
|
|
||||||
path = request.env["PATH_INFO"]
|
path = request.env["PATH_INFO"]
|
||||||
|
|
||||||
accessible_urls = ["/", new_user_registration_path, new_user_session_path, new_user_password_path, edit_user_password_path]
|
accessible_urls = ["/", new_user_registration_path, new_user_session_path, user_registration_path, new_user_password_path, edit_user_password_path]
|
||||||
|
|
||||||
unless accessible_urls.include?(path)
|
unless accessible_urls.include?(path)
|
||||||
store_location_for(:user, path) and redirect_to root_url, notice: "You must be logged in."
|
store_location_for(:user, path) and redirect_to root_url, notice: "You must be logged in."
|
||||||
|
|
Loading…
Reference in a new issue