| PixLab  & FACEIO | Knowledge Sharing & Public Forums


restartSession() is not enabled and always returns false on my FACEIO application

Asked
Modified
Viewed 1003 times
13

Hello Support,

I have implemented the restartSession in my aplication.
The Flow is as follows:
1. User tries to Login to the application
2. If the login fails then I reset the session and call the enroll.

Unfortunately the restartSession always returns false. It doesn't throw any errors and the plan is Starter Cloud so according to the pricing the restartSession should be included in the price.

Thank you


Accepted Solution

38

 Hello,

Thanks for reaching out, and welcome to the FACEIO Support center. To answer inquiry:

  1. Your application has to be upgraded at least to one of the Premium Plans such as the Starter or Pro Plan in order to be able to call the restartSession() method.
  2. . To resume, you need to upgrade your application from the freemium plan inorder to get access to such method.
  3.  Finally, restartSession()should be called only inside your failed promise if your authentication() or enroll() workflows fails, and the promise is rejected with the appropriate error code.

That's all. Feel free to reach out if you need further assistance.