Yii Framework Forum: Yii2 Password - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Yii2 Password Password strength validation utilities for Yii Framework 2.0 Rate Topic: ***** 1 Votes

#1 User is offline   Kartik V 

  • Master Member
  • PipPipPipPip
  • Yii
  • Group: Members
  • Posts: 601
  • Joined: 29-August 12

Posted 16 December 2013 - 04:13 PM

This is a discussion forum for the yii2-password extension. The extension provides a couple of great password management utilities for Yii Framework 2.0. It has a separate StrengthValidator that allows password strength validation through your model. In addition, it also provides an advanced password input widget, that allows you to display/hide text and show the password strength. You can view the documentation and demos of the StrengthValidator and the PasswordInput widget in action.
0

#2 User is offline   cornernote 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 5
  • Joined: 22-November 10

Posted 16 December 2013 - 08:33 PM

Awesome to see Yii2 extensions being created already. Thanks for the release!
0

#3 User is offline   Kartik V 

  • Master Member
  • PipPipPipPip
  • Yii
  • Group: Members
  • Posts: 601
  • Joined: 29-August 12

Posted 17 December 2013 - 01:00 PM

View Postcornernote, on 16 December 2013 - 08:33 PM, said:

Awesome to see Yii2 extensions being created already. Thanks for the release!

Thanks. Yes. This should be a much better and expected release of Yii to work with.
0

#4 User is offline   Kartik V 

  • Master Member
  • PipPipPipPip
  • Yii
  • Group: Members
  • Posts: 601
  • Joined: 29-August 12

Posted 16 January 2014 - 12:15 PM

Resolved issue of toggle mask not validating/showing Password with multiple widgets on same page (as pointed out by DocSnyder).

Currently, the widget allows multiple widgets on same page in which you can control the display of the strength meter and toggle Mask.
0

#5 User is offline   Kartik V 

  • Master Member
  • PipPipPipPip
  • Yii
  • Group: Members
  • Posts: 601
  • Joined: 29-August 12

Posted 16 January 2014 - 12:17 PM

Translation into languages will be taken up as an enhancement. Will appreciate anyone volunteering for translations into languages.
0

#6 User is offline   DrMabuse 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 8
  • Joined: 08-March 12
  • Location:Stuttgart

Posted 16 January 2014 - 04:32 PM

View PostKartik V, on 16 January 2014 - 12:17 PM, said:

Translation into languages will be taken up as an enhancement. Will appreciate anyone volunteering for translations into languages.

i can spend German ...
... und wenn man hier auf den Knopf drückt fallen die Kühe und die Häuser um das ist dann immer ein ganz großes Hallo .....
0

#7 User is offline   Kartik V 

  • Master Member
  • PipPipPipPip
  • Yii
  • Group: Members
  • Posts: 601
  • Joined: 29-August 12

Posted 17 January 2014 - 03:05 AM

Internationalization and translations for both StrengthValidator and PasswordInput have been implemented. Tested for French messages (translations courtesy Google translate) and the message files are included. You can submit a Pull Request for other languages. I have included a skeleton template for German (DE) messages.
0

#8 User is offline   Kartik V 

  • Master Member
  • PipPipPipPip
  • Yii
  • Group: Members
  • Posts: 601
  • Joined: 29-August 12

Posted 22 January 2014 - 02:50 PM

PasswordInput has been enhanced now to work with ActiveField in a better way (no more need of passing $form property). In addition, you can now use this widget with or without an ActiveForm or model. Please change your codes in case you are using these widgets.

For example:

// add this in your view
use kartik\password\PasswordInput;

// Usage with ActiveForm
echo $form->field($model, 'password')->widget(
    PasswordInput::classname(),
    ['showMeter' => true]
);

// Usage with model and without ActiveForm 
echo PasswordInput::widget([
    'model' => $model, 
    'attribute' => 'password_1',
    'showMeter' => true,
]);

// Usage without a model or ActiveForm
echo PasswordInput::widget([
    'name' => 'password_2',
    'showMeter' => true,
]);

0

#9 User is offline   Kartik V 

  • Master Member
  • PipPipPipPip
  • Yii
  • Group: Members
  • Posts: 601
  • Joined: 29-August 12

Posted 06 March 2014 - 03:26 PM

Extension upgraded to version 2.0. PasswordInput widget uses the newly created Strength Meter JQuery plugin. View the plugin documentation and/or demo.

For the PasswordInput widget, check documentation or view [url ="http://demos.krajee.com/password-demo"]a demo[/url].

Older version has been relegated to a `version1.0` branch on github. Users upgrading to version 2.0 --- please see the documentation for usage.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users