Fix tournament creation.
This commit is contained in:
@@ -30,7 +30,7 @@ namespace LaDOSE.Business.Service
|
||||
// check if password is correct
|
||||
if (!VerifyPasswordHash(password, user.PasswordHash, user.PasswordSalt))
|
||||
return null;
|
||||
|
||||
|
||||
// authentication successful
|
||||
return user;
|
||||
}
|
||||
|
||||
@@ -109,7 +109,7 @@ namespace LaDOSE.Business.Service
|
||||
var remove = currentEvent.Date?.ToString("Mdyy");
|
||||
var url = $"{remove}{selectedGame.Id}";
|
||||
var selectedEvent = FormatCurrentEventName(currentEvent.Name);
|
||||
var name = $"[{eventDate}] LaDOSE.Net - {selectedEvent} - {selectedGame.Name}";
|
||||
var name = $"[{eventDate}] LaDOSE.net - {selectedEvent} - {selectedGame.Name}";
|
||||
var tournament = _challongeProvider.CreateTournament(name, url).Result;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user