search for: user_email

Displaying 20 results from an estimated 22 matches for "user_email".

2013 Sep 26
2
Login Problem
...prepend_before_filter :require_no_authentication, :only => [ :new, :create ] prepend_before_filter :allow_params_authentication!, :only => :create prepend_before_filter { request.env["devise.skip_timeout"] = true } skip_before_filter :verify_authenticity_token def create user_email = User.find_by_email(resource_params[''email'']) if user_email if server_emails.include?(resource_params[''email'']) || params[:client_login] != nil if user_email.valid_password?(resource_params[''password'']) if (use...
2015 Jun 19
0
Samba rebind user@email.com to user_email.com
...ik.de Internet: www.tropenklinik.de -----Urspr?ngliche Nachricht----- Von: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org] Im Auftrag von Martin Lund Gesendet: Freitag, 19. Juni 2015 12:24 An: samba at lists.samba.org Betreff: [Samba] Samba rebind user at email.com to user_email.com Hello List, I'm dealing with the following issue here: https://forum.zentyal.org/index.php?topic=25300.0 Although it starts with OpenChange, it ends with Samba4 so I very much hope that somebody on this list can help me out. Basically I try to authenticate users through the Outlook aut...
2015 Jun 19
2
Samba rebind user@email.com to user_email.com
Hello List, I'm dealing with the following issue here: https://forum.zentyal.org/index.php?topic=25300.0 Although it starts with OpenChange, it ends with Samba4 so I very much hope that somebody on this list can help me out. Basically I try to authenticate users through the Outlook autoconfigurator using RPC-OVER-HTTP to a samba server. The problem is that in Samba4/LDAP I cannot have
2006 Apr 20
5
Integrating with Legacy Databases
This seems like it must have been asked before - I really _did_ try to find it in the archives, so my apologies if it''s already out there. Utilizing ActiveRecord, I would like to specify a prefix for the column names in my table. For example, in ''Recipe 16 Integrating with Legacy Databases'' (Rails Recipes, from PragProg, by Fowler) they deal with integration with a
2011 Mar 11
1
Using dovecot with wordpress/phpass passwords?
Good afternoon, I am trying to setup dovecot to authenticate using the userdata from wordpress. It's being a bit mor difficult than I thought. This is the relevant part of the dovecot-sql.conf default_pass_scheme = CRYPT password_query = SELECT user_pass AS password FROM wp_users WHERE user_email='%u'; user_query = SELECT 501 as uid, 501 as gid,'maildir:storage=51200' as quota FROM wp_users WHERE user_email = '%u' I can see that the query is being procecessed according to the logs. Wordpress and others are using phpass to authenticate (http://www.openwall.com/phpas...
2008 Mar 05
14
[Stories] Login and subdomain
...rm some actions the user has to be logged in, and this is where the problem comes, how to test these actions ? - Is there a way to set a user as logged in ? (that would definitely be very convenient) So far I have tried to do the following : post "/authenticate/login", {:login => user_email, :password => password } but the problem is that it doesn''t use the correct subdomain and the login, as expected in that case, fails, so how to define the correct subdomain ? Thank you in advance for your help.
2006 Apr 15
0
Ticket #4140? observe_field issue.
Take these two basic bits of HTML. <input id="user_email" name="user[email]" size="30" type="text" value="" /> <script type="text/javascript"> //<![CDATA[ new Form.Element.EventObserver(''user_email'', function(element, value) {new Ajax.Request(''/account/validate_...
2006 Mar 16
1
sql functions in cru ( not d )
...riggers might be another possibility.) However, what I would really LIKE to do is use the handy AES_ENCRYPT and AES_DECRYPT functions in mySql. If I were doing this with straight sql, I would just use INSERT INTO myTable VALUES( null, ''user name'', AES_ENCRYPT (''user_email'' , ''password'' ). Since ActiveRecord handles all this for me, it is not clear if I can override the insert, update and select statements for a table. It may not be a very good idea, but I''d like more information before giving up on it. Thanks, Denise
2006 Feb 25
2
How to access param entered through text_field
I''m rendering partial a form comprising several text_field helpers to maintain my User model. For example, the email field is: <p><label for="user_email">Email</label><br/> <%= text_field ''user'', ''email'', :size => ''40'', :maxsize => ''256'' %></p> In my controller, I know I can assign all the params in the form to my user object with '&...
2009 Jun 28
2
validation error messages in Form - how to disable the ActionView::Base.field_error_proc ?
...xt warning-text-indent\''><%= @user.errors.on(:email) %></span></li> the generated html code is the following : <span class="field-with-errors"><input type="text" value="" size="30" name="user[email]" id="user_email"/></span> <span warning-text-indent\="" class="\''warning-text" id="email_error">should look like an email address.is too short (minimum is 6 characters)</span> it''s not far from what I would like : ( getting rid of the <...
2006 Mar 08
4
Sending Documents via ActionMailer
Hi, I''ve been trying to set up to send already generated PDF''s via the ActionMailer class however it dosn''t seem to send the full file. So when I try to load the file after being sent it via email it dosn''t because it is corrupt. When I choose to send HTML instead it sends fine but it dosn''t work with Word Documents either Do I need to do anything
2006 Jan 21
5
How do you deal with non-model property form values
...ooks like this: <% @page_title = "Login" -%> <%= error_messages_for ''user'' %> <%= form_tag %> <table> <tr> <td align="right" width="1%" nowrap="nowrap"><label class="required" for="user_email">Email</label>:</td> <td><%= text_field("user", "email") %></td> </tr> <tr> <td align="right" width="1%" nowrap="nowrap"><label class="required" for="user_password...
2006 Jun 16
0
rake spec controller test output hideus.
..."password_confirmation\">Confirm Password:</label>\n<br/>\n<input id=\"user_password_confirmation\" name=\"user[password_confirmation]\" size=\"20\" type=\"password\" value=\"wrong\" /><br/>\n<label for=\"user_email\">Email:</label>\n<br/>\n<input id=\"user_email\" name=\"user[email]\" size=\"20\" type=\"text\" value=\"newbob@mcbob.com\" /><br/>\n<label for=\"user_name\">Display Name:</label>\n<br/>\n&...
2007 Nov 29
5
Webrat 0.1.0 released - Ruby Acceptance Testing for Web applications
...gn Up form with the values "good at example.com" and "Free account" leads to a successful page Take special note of the things _not_ specified in that test, that might cause tests to break unnecessarily as your application evolves: * The input field IDs or names (e.g. "user_email" or "user[email]"), which could change if you rename a model * The ID of the form element (Webrat can do a good job of guessing, even if there are multiple forms on the page.) * The URLs of links followed * The URL the form submission should be sent to, which could change if you...
2011 Sep 12
3
Sieve envelope :detail "to" "extention" does not deliver to fileinto destination
...fix/smtpd[7788]: disconnect from xxx ### dovecot -n => attachment dovecot_-n ~#: egrep -v '^(#|$)' /etc/dovecot/dovecot-sql.conf #### driver = mysql connect = host=127.0.0.1 dbname=mailserver user=$USER \ password=$PASSWORD default_pass_scheme = PLAIN-MD5 password_query = SELECT user_email AS user, \ user_password AS password \ FROM virtual_users WHERE user_email='%u'; #### Due to the fact that I'am new to dovecot and sieve I hope anybody can help the solve this issue. My target is to filter the mailinglists based on add...
2012 Jul 18
3
Undefined method error
I have been working on a project based on Michael Hartl''s book Ruby on Rails Tutorial in order to try to teach myself Ruby on Rails. However, when it tries to render a form designed to allow a user to submit a small message, I get an error saying, "undefined method `model_name'' for NilClass:Class". It says the error is at line 1, which is "<%= form_for
2006 May 03
0
Accessing the params hash in a functional test not working
...ssion_has :user assert_equal @bob, @response.session[:user] assert_redirected_to "/bogus/location" end And the login action looks like: def login session[:debug_params] = params case @request.method when :post if session[:user] = User.authenticate(params[:user_email], params[:user_password]) flash[:notice] = "You are now logged in as "+session[:user].fullname redirect_back_or_default :action => "welcome" else flash[:error] = "The email address and/or password you entered is invalid.".t re...
2008 Nov 26
0
MS Exchange IMAP Voicemail
...ing Asterisk 1.6.1-Beta2, but this should also work in 1.4.x as it is Exchange specific, not Asterisk specific. I'm sure this is the long awaited for secret that many IT Professionals have been looking for and here is how it works... In your voicemail.conf: ext_num => vm_pass,user_name,user_email,user_pager_email|imapuser=domain.com\admin_ user_name\mailbox_name|imappassword=apmin_user_password The admin username is just the username, and the mailbox name is just the prefix (before the @ symbol) of the e-mail address. Example: 1688 => 1234,1688, <http://lists.digium.com/mailman/...
2011 Oct 07
0
will_paginate + RJS error
...> <% @professors.each do |professor| %> <tr class="<%= cycle(''odd'', ''even'') %>"> <% if !professor.nil? %> <td width="5%" > <%= check_box_tag "user_emails[]" , professor.email %> </td> <% end %> <td><%=image_tag professor.photo.url(:mini) %></ td> <td width="40%"> <%= professor.spec.full_name %></ td> <td widt...
2005 Aug 07
8
Ajax forms and redirects
Here is an example that seems perfect for Ajax that I have not seen implemented nor can figure out how to do it. I am hoping someone can give me some pointers. On the sign-up page, I would like to do my validations (password length, username uniqueness,etc ) Ajax-style. But if all validates, then redirect to the success page. The combining of redirection to a new page with Ajax is throwing me.