similar to: rails login page with basic authorization

Displaying 20 results from an estimated 1400 matches similar to: "rails login page with basic authorization"

2012 May 13
4
undefined method `key?' for nil:NilClass,bcrypt-ruby,has_secure_password
I''m going through DHH''s Agile Web Development with Rails for Rails 3.1. In chapter 14 they create a Users sign-in model/view/controller using the has_secure_password method. My user.rb file looks like this class User < ActiveRecord::Base attr_accessible :name, :password_digest, :password, :password_confirmation validates :name, presence: true, uniqueness:
2011 May 06
3
RestClient send method?
Hey all, I see this line of code: RestClient.send(verb, url, parameters) Basically there''s two rails application that communicate with each other. RestClient is a rails gem. Here we send the get http verb and a url string comprising of the other application base url and append a query string to it consisting of the new user email that is being created. So if the arguments are these:
2009 Oct 04
2
no such file to load -- restClient (MissingSourceFile) HELP
i don''t get what is going on here. if i run the restclient command that starts an irb with restclient it works fine but when i try to load it from environment.rb with require ''rest_client'' this is what i get... it''s driving me batty. /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'': no such file to load --
2011 Oct 07
1
403 Error Dont know whats wrong.
Hi, I am quite new to ruby and am programming an application to send sms using rest_client gem. I so far have code on one of my modules which tries to send an sms to a number. It gives the 403 error - RestClient::Forbidden in SMSController#index 403 Forbidden Rails.root: /Users/user1/Desktop/rails_projects/sms_app My code in the module looks as follows - before adding this code i had a simple
2010 Jun 09
4
rails+sinatra sent image
Hi! I have simple rails application - users with name and avatar and in sinatra I want to create new user. form for new user <form action="/users/create" enctype="multipart/form-data" method="post"> <p> <label for="name">Name: </label> <input type="text" id="name" name="user[name]" >
2013 May 19
5
update_attributes() for a single column
I was just faced with a strange ROLLBACK exception when attempting to execute this code: $ rails console user = User.first User Load (1.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1 => #<User id: 1, name: "Michael Hartl", email: "foo-+RB1Aph5k6s@public.gmane.org", created_at: "2013-05-12
2019 May 08
6
Firefox esr repackage
Hi everyone, I use firefox on centos 7 at work but due to the fairly well know extension signing problem, I cannot use ublock origin. From what I can tell, the latest version of firefox in the updates repository is 60.6.1-1.el7. It looks like Mozilla have just released firefox esr 60.6.2 which should fix the signing issue. (see https://www.mozilla.org/en-US/firefox/60.6.2/releasenotes/) Would it
2011 Jul 13
0
RestClient posting multipart issue - RestClient::Found Exception: 302 Found
I thought I found how to post a file to my controller for PaperClip attachment processing , but I am stuck with the the RestClient processing I am creating the file from the email attachment : file = StringIO.new(part.decoded) file.class.class_eval { attr_accessor :original_filename, :content_type } file.original_filename = part.filename file.content_type = part.mime_type # then adding some
2014 Apr 17
0
RestClient::ResourceNotFound in UsersController#index
Hi, I am trying to implement Rest Api for a sample application for learning purpose. But when I try to make a "GET" request through the RestClient it is showing error as RestClient::ResourceNotFound in UsersController#index def index uri = "#{API_BASE_URL}/users.json" # specifying json format in the URl rest_resource = RestClient::Resource.new(uri, USERNAME,
2011 Apr 20
1
Omniauth facebook authentication failure
I am using devise and omniauth for authentication. Wherever i click on the facebook login button i get this warning msg. ****************************************** warning: peer certificate won''t be verified in this SSL session ****************************************** But now i get this error msg ***************************************** OpenSSL::SSL::SSLError SSL_connect returned=1
2016 Oct 11
2
Compound Literal - xlc and gcc differences can be patched
Since I so miserably misspelled packaging - a new thread specific to the issue at hand. I found a "workaround". In short, xlc does not accept arrays of nested array - the bottom line (best message) is: 1506-995 (S) An aggregate containing a flexible array member cannot be used as a member of a structure or as an array element. At the core - all the other messages come because this
2012 Jul 12
2
bcypt availability
Dear Timo, Do you intend to introduce bcrypt into the built in password schemes? In lew of all these hacks lately many larger companies appear moving this way, we are looking at it too, but dovecot will then be the weakest link in the database security. So, are you planning on this and if so what sort of timeframe / version would you expect it to be in beta ? Nik
2013 Mar 19
1
Help me about Bcrypt-ruby
I''m create a login form using Bcrypt-ruby but have error: uninitialized constant User::BCrypt I had setup Bcrypt-ruby in Gemfile gem "bcrypt-ruby", :require => "bcrypt" and restart,rake db:migrate but not run.I had run bundle:install,bundle: update and see Bcrypt had installed. i''m afraid that i use gem ''rails'',
2012 Jan 03
5
Storing passwords encrypted... bcrypt?
Hi everyone, Was just perusing this article about how trivial it is to decrypt passwords that are stored using most (standard) encryption methods (like MD5), and was wondering - is it possible to use bcrypt with dovecot+postfix+mysql (or posgres)? -- Best regards, Charles
2012 Mar 28
0
Performance for SOAP and HTTP
Hi everyone, I hope someone can help me with the following problem. I want to issue SOAP request from rails to connect to a legacy system in the backend. First I tried savon as a SOAP client. Everything worked fine, but the performance was bad. The following code client = Savon::Client.new client.http.headers["Content-Type"] = "application/soap+xml; charset=utf-8"
2012 Aug 15
1
bcrypt again
Hi I'd like Dovecot to consume a list of users exported from an external application which stores bcrypted passwords. This has been asked in the past, however, I'm not sure how to read the following reply: > If you are using Dovecot< 2.0 you can also use any of the algorithms > supported by your system's libc. But then you have to prefix the hashes > with {CRYPT} - not
2017 Mar 26
3
Tip: update dovecot MD5 password from PAM
It is a jolly bad idea to use the same password for both email and system access. On TLS+plaintext, if your passwords are slurped by a python script, all accounts are compromised. Congratulations, the NSA will love you. On the other side of the ocean, however, there are European states where you must disclose the fact, or go to jail. (I tried to protect dovecot passwords with bcrypt, but the
2003 Feb 08
1
2.2.8pre1 smbclient log in problem
Hi all samba coders. Glad to see that you work to improve samba. Here is a problem I would be very greatful if you could solve. Certain international characters does not work as usernames when trying to log in to an NT4 file server. My problem is that in Swedish versions of NT the "Administrator" username is translated and reads "Administrat?r". It seams that the
2012 Jan 28
4
How to migrate from md5 to bcrypt?
I would like to migrate users from my old phpfusion site but I have there hash password md5(md5) how to convert this passwords to bcrypt? I creating Sinatra app whre i use this passwords with Warden. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit
2013 Mar 11
2
doveadm password check
Hi, I want to write some php code that users can change there dovecot password via a roundcube plugin. I'm using php function crypt(...) to generate the hashes and everything works well so far. I'm using doveadm pw to generate testhashes e.g.: srv:~ # doveadm pw -r 5 -s BLF-CRYPT -p abc {BLF-CRYPT}$2a$05$W82/Vw4ZEcHBC00M8cNwe.g8fOHuAeV7L5Q/q4W6VWl9V5kjoiz8y I expected an