forked from External/greenlight
GRN2-6: Added the ability for admins to specify registration method (#520)
* Added the ability to invite users * Small bug fix * Added the ability to approve/decline users * Small bug fixes * More bug fixes * More minor changes * Final changes
This commit is contained in:
committed by
Jesus Federico
parent
adf4b68008
commit
720dac6012
@ -17,7 +17,8 @@
|
||||
$(document).on('turbolinks:load', function(){
|
||||
// Stores the current url when the user clicks the sign in button
|
||||
$(".sign-in-button").click(function(){
|
||||
document.cookie ="return_to=" + window.location.href
|
||||
var url = [location.protocol, '//', location.host, location.pathname].join('');
|
||||
document.cookie ="return_to=" + url
|
||||
})
|
||||
|
||||
// Checks to see if the user provided an image url and displays it if they did
|
||||
|
Reference in New Issue
Block a user