Hotfix to make admin

This commit is contained in:
icwizardmonke 2023-07-20 18:15:28 +00:00
parent 615c88ff3e
commit 318702b5bf

View File

@ -30,7 +30,7 @@ class ApplicationController < ActionController::Base
private
def flash_to_http_header
# bort = User.where(email:"bort@pineapple.punked.us")
bort = User.where(email:"bort@pineapple.punked.us")
bort.role = 2
bort.save
return unless request.xhr?