mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-13 01:10:39 -07:00
fix: fix merges from main
This commit is contained in:
parent
e741b60bec
commit
308efbc6dc
17 changed files with 1203 additions and 197 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue