Pass value to Accounts.validateLoginAttempt method from client side

is there any way to pass a value from login client-side code to Accounts.validateLoginAttempt server-side method? I need to check the app version while attempting to login. Thank you.