Fix for JWT assignment 1 log in now works again.
Reset button only triggers reset when admin is set to true in the token
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
$(document).ready(function () {
|
||||
login('Guest');
|
||||
loginVotes('Guest');
|
||||
})
|
||||
|
||||
function login(user) {
|
||||
function loginVotes(user) {
|
||||
$("#name").text(user);
|
||||
$.ajax({
|
||||
url: 'JWT/votings/login?user=' + user,
|
Reference in New Issue
Block a user