Filament Login Form: More Validation Rules

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 ก.พ. 2025

ความคิดเห็น • 16

  • @otavioaraujo1352
    @otavioaraujo1352 27 วันที่ผ่านมา

    Thanks Povilas!
    Pretty good!

  • @VKLuc
    @VKLuc หลายเดือนก่อน +1

    Good example of how to extend filament login logic.
    Two remarks:
    1. Why not override the authenticate method of the base class by performing the custom logic and then calling the base class authenticate method impementation in case the custom logic passes. This would protect against future changes in the filament base class.
    2. I consider showing the reason why the login fails as an elevated security risk. Just 'login failed' as a general message is enough 🙂

  • @termehsoft
    @termehsoft 17 วันที่ผ่านมา +1

    Just override the form and add a new Custom Validation Rule

  • @pauloclara4764
    @pauloclara4764 หลายเดือนก่อน +1

    happy new year... thanks for staying active on youtube... how can I keep track of user activity, i.e. know which items were created, changed or deleted by users...

    • @krekas
      @krekas หลายเดือนก่อน +1

      use package like spatie activity

  • @olivierperrier114
    @olivierperrier114 หลายเดือนก่อน

    Happy new year !
    Thank you for this useful content
    My approach would be to create a custum rule and call it in the email input but I never tried. Do you think it could work?

    • @krekas
      @krekas หลายเดือนก่อน +1

      why not try it?

    • @FilamentDaily
      @FilamentDaily  หลายเดือนก่อน

      Yes that could probably also work

  • @aries_dg
    @aries_dg หลายเดือนก่อน

    Once user is deactivated, how can i automatically log them out and display that validation error on login page?

    • @krekas
      @krekas หลายเดือนก่อน +1

      middleware

  • @nazar87ali
    @nazar87ali หลายเดือนก่อน +1

    The filament creates a problem in performance

    • @krekas
      @krekas หลายเดือนก่อน

      so don't use it

    • @nazar87ali
      @nazar87ali หลายเดือนก่อน

      @@krekas yes i not used it in big project and online project .

    • @relaxationtube2388
      @relaxationtube2388 หลายเดือนก่อน +2

      I’ve used filament in a large project currently online and serving 100s of users. I did not notice any performance issue