Railsbin – The vulnerable pastebin service!

User:

Title: rfc

Content:

def get_last_login_data(self) -> tuple | None:
        ip = self._user.get_setting_val('last_login_ip')
        dt = self._user.get_setting_val('last_login_datetime')
        if ip and dt:
            return ip, dt

Edit | Back