SPATIE

  • Products
  • Open Source
  • Courses
  • Web Development
VacanciesAboutBlogDocsGuidelinesMerch ↗ Log in

Docs Laravel-one-time-passwords Configuring-security Setting default expiration time

Other versions for crawler v1
    • Introduction
    • Support us
    • Installation & setup
    • Questions and issues
    • Changelog
    • About us

    Basic usage

    • Introducing one-time-passwords
    • Creating one-time passwords
    • Configuring notifications
    • Consuming one-time passwords
    • Using the Livewire component

    Configuring security

    • Introduction
    • Enforcing origin
    • Configuring password format
    • Allowing multiple passwords
    • Setting default expiration time

    Advanced usage

    • Customizing actions
    • Using your own model
    • Handling events

Setting default expiration time

By default, the expiration time of a one-time password is 2 minutes. You can change this value by setting the default_expires_in_minutes key in the one-time-passwords config file.

Allowing multiple passwords
Customizing actions
Help us improve this page
Medialibrary.pro

UI components for the Media Library

Help us improve this page
  • Products
  • Open Source
  • Courses
  • Web Development
VacanciesAboutBlogDocsGuidelinesMerch ↗ Log in

Kruikstraat 22, Box 12
2018 Antwerp, Belgium
info@spatie.be
+32 3 292 56 79
  • GitHub
  • Instagram
  • LinkedIn
  • Twitter
  • Bluesky
  • Mastodon
  • YouTube
  • Privacy
  • Disclaimer

+32 3 292 56 79

Click to call us

    Enter a search term to find results in the documentation.