Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6584799
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T16:34:56+00:00 2026-05-25T16:34:56+00:00

I made a simple registration form with form builder. It seems I did everything

  • 0

I made a simple registration form with form builder. It seems I did everything totally like in the documentation and articles but I still can’t make passwords to store in database not in a plain text.

Here are some files, please, help me.

security.yml: http://pastebin.com/4FwBaZQK
Acme\UserBundle\Entity\User: http://pastebin.com/iUGd4Cz1
Acme\SecurityBundke\Controller\SecurityController: http://pastebin.com/wTVy2zE2

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T16:34:56+00:00Added an answer on May 25, 2026 at 4:34 pm

    Check out the documentation on encoding user passwords.

    The code snippet from the documentation should be applied to the user object after it’s bound, but before it’s persisted and flushed (so between lines 45 and 46 in your Security controller):

    $factory = $this->get('security.encoder_factory');
    $user = new Acme\UserBundle\Entity\User();
    
    $encoder = $factory->getEncoder($user);
    $password = $encoder->encodePassword($user->getPassword(), $user->getSalt());
    $user->setPassword($password);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I made a simple counter, but it increments by 2 instead of 1. $handle
Possible Duplicate: How does StackOverflow generate its SEO-friendly URLs? I made a simple form
i made simple web server like below. import BaseHTTPServer, os, cgi import cgitb; cgitb.enable()
Made a simple server using TcpListen and would like to add SSL to the
I have simple registration form. Once all information entered, user click submit button and
I just made the registration form for my website, however I have zero knowledge
I've a application deployed on google app-engine..it has a registration form. now i've made
I made simple arguments adder with assembly but it isn't working it always return
I made simple plugin and i would like to work this plugin only below
I made a simple graph to write MKV file. But I do not want

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.