fix: fix merges from main

This commit is contained in:
Nelson Jovel 2024-11-19 19:23:22 -08:00
parent e741b60bec
commit 308efbc6dc
17 changed files with 1203 additions and 197 deletions

View file

@ -1,7 +1,7 @@
module BasicAuthHelper
def login_as(district)
user = district.name.downcase
pw = "#{district.name.downcase}!"
user = district.short_name
pw = "#{user}!"
request.env['HTTP_AUTHORIZATION'] = ActionController::HttpAuthentication::Basic.encode_credentials(user, pw)
end
end