mirror of
https://github.com/PaulReichmuth/timekeep-backend.git
synced 2025-12-22 22:41:59 +00:00
begin StationService implementation
This commit is contained in:
@@ -48,4 +48,10 @@ public class Station {
|
||||
passedTeams.remove(team);
|
||||
passingTimes.remove(team);
|
||||
}
|
||||
|
||||
public String setPasswordHash(String passwordHash){
|
||||
if(this.passwordHash != null) throw new IllegalStateException("Password has already been set");
|
||||
this.passwordHash = passwordHash;
|
||||
return this.passwordHash;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user