How to manage the double authentication?

Hello can anyone help me in my final year project in which i have to customize this seafile server like changing encryption and other things? can anyone help me out please??