FAQ Database Discussion Community


Restrict registration on Meteor to emails from a particular domain

meteor,registration
This is the closest I've found to an answer on how to restrict sign up on Meteor, but I'd prefer not to have to send every person an invitation: How to make sign-up invitation only? So far, this is what I have, but it doesn't work - it doesn't accept...

Laravel 5 custom validation

php,validation,laravel,registration
I am a beginner in Laravel 5. Basically I have two tables, users and teams tables. I used the built in register feature and made changes to it. Before a user can register, he must know the team name (dropdown) where he belongs as well as the team code. If...

Rails Devise - Register User with Associated Model

ruby-on-rails,ruby-on-rails-4,devise,registration
I've come across a few SO questions on this topic, but all seem out of date or simply bad coding practice. Problem: I am signing up a user as part of a checkout flow. I want to collect the user's address when they sign up. I have a user model...

Devise prevent auto sign-in after registration

ruby-on-rails,ajax,session,devise,registration
Here's my scenario : Users can register on my website by entering their university login. My app checks this login against the university LDAP, and if it exists, it will duplicate the university LDAP entry on my own LDAP + create a database entry for the user on the rails...

Checking for 'isUniqueUsername' in cakephp doesn't seem to work?

php,cakephp,registration
I have a register form where when a user registers it asks for their Username, Password and email. For the username, I have a few rules such as: Must be 5-12 characters Must be unique Must use only alpha, numbers, and dashes With that being said, I can't seem to...

Codeignter how to get userid after login

php,codeigniter,login,registration,userid
I have successfully created a registration and login system. I have used useremail and password in the login form and I want to display the username and other proerties related to that logged in user. What are the simplest and best practices to get the userid after a login in...

Unable to check for already existing usernames google app engine

python,google-app-engine,gae-datastore,registration,user-registration
Here is my code to check for already existing usernames : def post(self): have_error = False username = self.request.get('username') password = self.request.get('password') verify = self.request.get('verify') email = self.request.get('email') params = dict(username= username, email = email) usernames = db.GqlQuery(' select * from Users where username = :1 ', username) if not...

Registration using data from external sources

php,laravel,laravel-5,registration
I just recently picked up Laravel. I am trying to change Registrar.php to suit my needs in Laravel 5. The registration flow is as follows: Ask user for username and password Use these details to make request to an external service (may take around 20s) Check if the details supplied...

Provisioning Profile with Proper Entitlements Prevents Push Notifications Registration

ios,objective-c,push-notification,registration,provisioning-profile
Overview We currently have two applications that differ only in their provisioning profiles. Application one is working properly using its own provisioning profiles. Application two, which is a copy of application one, also has its own application ID and provisioning profiles with the exact same entitlements. The only difference is...

pdo registration page error when trying to register a sample user [closed]

php,mysql,pdo,load,registration
Hello i am working on creating a user registration page. I believe i have tried everything, when i try to test the registration page it just reloads the same page. when i click the submit button and doesn't go into my database nor shows the "your account has been created"....

Ruby on Rails Why isn't my create user working using bcyrpt gem?

ruby-on-rails,ruby,login,authorization,registration
In my Ruby on Rails application I have just started to try to include registering and logging in. I firstly ran the scaffold command: rails generate scaffold User name:string password_digest:string role:string and then rake db:migrate. This all went well and created the needed files for User. In my gemfile I...

How to register a type with autofac after container creation

c#,inversion-of-control,registration,autofac
I have an infrastructure singleton that I would like resolved out of autofac At container creation I register AppPaths as a singleton However, for a variety of reasons (testing, a few infrastructure things) I would like to be able to swap that instance out with a new one during runtime....

Email is already in database, returns as if it isn't

php,mysqli,registration
Here is some background information on what I'm trying to do here. I'm try to create a registration form for my website (successful so far until this point). Data can be entered into the DB. The only thing I'm trying to do now is prevent duplicate email/usernames from being entered...

PHP/SQL - Blank page for registered users for a simple registration page

php,registration
I have an assignment where I have to make a registration page in php.... I just want to keep things simple so making the form work is all I'm aiming for. I am aware of the vulnerability of sql injections/plaintext, but that's the last of my worries for now since...

Google Play: Registering as two people

android,google-play,registration
Is it possible to register as two people rather than an individual without setting up a company? I know you can register as an individual or a company, but I want to cooperate with a friend to make an app. Is that possible if we want to publish an app...

Fetching join date from mysql database and echoing it as a readable format

php,mysql,date,user,registration
I want to fetch the join date of users from my database and then echo it out into a readable format. Here's my code: function date_registered($user_id) { $sqldate = mysql_fetch_array(mysql_query("SELECT `date_registered` FROM `users` WHERE `user_id` = $user_id")); $date = strtotime($sqldate['date_registered']); return date("j F Y", $sql);} and the echo: echo '<p>Joined:...

MySQL Registration not working when updated to SQLi?

php,mysqli,registration
So I literally don't have much knowledge of the differences between MySQL and MySQLi, I will be picking it up slowly while I'm working... I am trying to use my old SQL PHP registration form on this new website and not having any luck, I am either getting "mysqli_query() expects...

How to setup angular-rails 4.2 - devise registration/authentication?

ruby-on-rails,angularjs,devise,registration
Can you give an advice or recommend some resources related to this topic? I understand how to it in a theory. But I also heard about jwt etc. What are the best practices to implement device/angular/rails role based auth/registration? All advices will be appreciated....

Registration users in Hippo cms

authentication,registration,hippocms
I have another question about Hippo cms. I found out how login with login and password in Hippo cms using web page. (using /login/proxy with POST) but how can I register new users? Of course I do not want users to have to go into the console. I just need...

An exception of type 'System.Data.SqlClient.SqlException' in Registration asp.net

c#,asp.net,registration
I am attempting at creating a registration page but it's not going as planned. It keeps throwing this error: An exception of type 'System.Data.SqlClient.SqlException' occurred in System.Data.dll but was not handled in user code In my table I have, [userid] INT NOT NULL, [username] VARCHAR (50) NULL, This is my...

Contact button is described by CommunicateAction (schema.org), isn't it?

button,registration,contact,schema.org
I have a site for distance education. I have buttons (CSS) for contact and I want to describe it with schema.org with CommunicateAction (with itemprop="about"): <div itemscope itemtype="http://schema.org/CommunicateAction"> <a itemprop="url" href="contact.html" title="Contact us"> <span itemprop="about">Contact</span></a> </div> Is this right? Or is this option for other things? And - my buttons...

Wordpress custom register form errors filters and prev values

wordpress,filter,registration,frontend
I created a front end registration form, I used the filters 'registration_errors' to customize the messages. After WP detects the error and use 'wp-redirect' to return to the registration page and display an error if the email or the user exists for example. My question is: how I can keep...

How to deal with an attack on registration-form?

security,email,registration
Question on registration process I was thinking about email verification, and was playing with some app. What if -) an attacker write a script that register millions account with different random email address(all existing, people's email)Then when the people register, it will prompt email already exists in db? -) Or...