Do not let every user log in as tleilaxu
This commit is contained in:
parent
9292dd807f
commit
c6303101a9
2 changed files with 1 additions and 4 deletions
|
@ -1,8 +1,6 @@
|
|||
ready = function() {
|
||||
$('[data-quickpay]').on("ajax:success", function(e, data, status, xhr) {
|
||||
if (this.id === "dagschotel_quickpay") {
|
||||
location.reload(false);
|
||||
} else {
|
||||
if (this.id !== "dagschotel_quickpay") {
|
||||
// Last Image
|
||||
var img = $("<img>", {
|
||||
src: $(this).closest(".overviewthumbnail").find(".avatar").attr("src").replace("large", "small"),
|
||||
|
|
|
@ -2,7 +2,6 @@ class WelcomeController < ApplicationController
|
|||
skip_before_filter :verify_authenticity_token, only: :token_sign_in
|
||||
|
||||
def index
|
||||
sign_in User.find_by(name: "tleilaxu")
|
||||
end
|
||||
|
||||
def token_sign_in
|
||||
|
|
Loading…
Reference in a new issue